<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2024/11/21
  Time: 12:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <meta charset="UTF-8">
    <title>欢迎页面-L-admin1.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/static/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/font.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/xadmin.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/dialog.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/js/dialog.js">
    <script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/lib/layui/layui.js"
            charset="utf-8"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->


</head>

<body>
<center>
    <form action="${pageContext.request.contextPath}/logistics/addlogistics.do" method="post">
        <input type="hidden" name="orderId" value="${order.orderId}">
        <table bgcolor="#f0ffff" border="2" width="300" cellspacing="0">
            <tr>
            <tr ><td colspan="2">
                发货信息：<textarea name="startPoint" cols="20" role="20">${order.username}-${order.userPhone}-${order.warehouseAddress}</textarea>
            </td></tr>
            </tr>
            <tr>
                <td colspan="2">
                    收货信息：<textarea name="endPoint" cols="20" role="20">${order.userUsername}-${order.orderUphone}-${order.orderAddress}</textarea>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    物品描述：<textarea name="itemDescription" data-value="${order.erpProductvo}" cols="20" role="20">${order.erpProductvo}</textarea>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    备注：<textarea name="remarks" data-value="${order.remarks}" cols="20" role="20">${order.remarks}</textarea>
                </td>
            </tr>
            <tr>
                <td>配送员:
                    <select name="transportPersonnelId">
                        <c:forEach var="type" items="${driver}">
                            <option value="${type.transportPersonnelId}">${type.name}</option>
                        </c:forEach>
                    </select>
                </td>
            </tr>
            <tr align="center">
                <td colspan="2">
                    <input type="submit" value="保存">
                    <%--                <button type="submit">dada</button>--%>
                </td>
            </tr>
        </table>
    </form>
</center>
<script>

    // layui.use('laydate', function () {
    //     var laydate = layui.laydate;
    //
    //     //执行一个laydate实例
    //     laydate.render({
    //         elem: '#start' //指定元素
    //     });
    //
    //     //执行一个laydate实例
    //     laydate.render({
    //         elem: '#end' //指定元素
    //     });
    // });
</script>
</body>

</html>
